package com.gitee.simons.common.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 接口查詢不到数据异常：数据主体
 * 
 * @author JSM
 * @date 2018/11/20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class NotFoundException extends ServiceException {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5070934361093540933L;
	public int code = 512;

	public NotFoundException() {
		super();
	}

	public NotFoundException(String message) {
		super(message);
	}

	public NotFoundException(String message, Throwable cause) {
		super(message, cause);
	}
}
